package programs.statement;

import java.util.Iterator;
import java.util.Set;

import programs.expression.implementedClasses.Variable;

import game.Ship;

public abstract class Statement {
	
	private Ship executer = null;	
	
	public abstract boolean isValidStatement();
	
	public abstract boolean containsAction();
		
	public abstract boolean isEmpty();
	
	public abstract void assignGlobalVariable(Variable variable);
	
	public abstract Iterator<BasicStatement> getIterator();
	
	public abstract Set<Variable> getVariables();
	
	public Ship getExecuter() {
		return this.executer;
	}

	public void setExecuter(Ship executer) {
		this.executer = executer;
	}
	
}
